<table id="music_maintable">
<tr>
	<td id="spacercol"></td>
	<td id="logocell" align="right"><a href="index.php"><img src="images/cplogo.png" border="0" alt="<?php echo $siteDescription; ?>" /></a></td>
		<td id="entrycell">
<script type="text/javascript" src="scripts/jnkl.js" ></script>
				<img src="images/cplogo.png" width="796px" height="0" />
				<form action="post.php" action="post" onsubmit="buildSearchStringFromImage();">
				<table>
				<tr>
				<td>What's <a href="listing.php?arg=hap">--hap:</a>?</td>
				<td align="right"><div id="charCount">140</div></td>
				</tr>
				<tr>
				<td colspan="2">
<input type=hidden id="query" name=query value=0>
<img class="sheet" src="images/sheet1.jpg" id="imgSheet" onmouseup="return doNote(this, event)">						

</form>
				</td>
				</tr>
				<tr>
				<td align="right" colspan="2">
<?php

if (empty($_SESSION['access_token']) || empty($_SESSION['access_token']['oauth_token']) || empty($_SESSION['access_token']['oauth_token_secret']))
{
?>
<a href="./toath/redirect.php"><img src="./toath/images/lighter.png" alt="Sign in with Twitter" border="0" /></a>
<?php
}
else
{

?>
<a href="./toath/clearsessions.php" id="signoutlink">Sign out</a><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
				<input type="submit" value="update" />
<?php
}
?>
				</td>
				</tr>
				</table>
			</form> 
		</td>
		
	<td id="spacercol"></td>
</tr>
</table>
